<html>
<head>
<title>SHONAN BBS</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="./css/style.css"
      rel= "stylesheet"
      type= "text/css"
      media="all" />
</head>
<body>
{include file="header.tpl"}
<h1>SHONAN BBS</h1>

<div class="commentBox">
{$row.nickname|htmlspecialchars}さんの投稿<br>
{$row.content|htmlspecialchars|nl2br}<br>
{$row.created_at|date_format:"%Y年%m月%e日"}<br>
</div>
に返信する
<form action= "reply_submit.php" method="post">
内容<br>
<textarea name="content" cols="60" rows="10"></textarea><br>
ニックネーム<br>
<input type="text" name="nickname" size="20"><br>
<input type="hidden" name="comment_id" value="{$row.id}">
<input type="hidden" name= "session_id" value="{$smarty.session.submit_id}">
<input type="submit" name="send" value="投稿する">
</form>

</body>
</html>
